<style type="text/css">
  .showok img{
    display: none;
  }
  .showok:hover img{
    display:block;
    height: 300px;
    width: 500px;
    z-index: 100;
    /* margin-left: 70%; */
  }
  /* .send{
    display: none;
    width: 300px;
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    color: black;
    border: 1px solid #000;
  }
  .showok:hover .send{
    display:block;
    z-index: 100;
    margin-left: 70%;
  } */
</style>
<form class="form-horizontal" role="form">
 
 <div class="col-md-10 col-md-offset-1">
 <div class="panel panel-default">
 <div class="panel-heading text-center">
   <span ng-if="flag == 'skv4ad'">添加广告图</span>
   <span ng-if="flag != 'skv4ad'">添加轮播图</span>
 </div>
 <div class="panel-body">
 <div class="form-group">
 <div class="form-group" ng-if="flag == 'sk'">
   <label for="inputDate" class="col-md-4 control-label">添加类型：</label>
   <div class="col-md-6">
    <select class="form-control" ng-model="info.type" ng-change="selection(info.type)">
      <option value="">请选择</option>
      <option value="0">宜买宜卖</option>
      <option value="1">评价送积分</option>
      <option value="5">积分商城</option>
      <option value="6">砍价帮</option>
      <option value="7">看看转</option>
      <option value="8">领红包</option>
      <option value="9">一元券</option>
    </select>
   </div> 
 </div>

 <div class="form-group" ng-if="flag == 'skv4ad'">
  <label for="inputDate" class="col-md-4 control-label">添加类型：</label>
  <div class="col-md-6">
   <select class="form-control" ng-model="info.type" ng-change="selection(info.type)">
     <option value="">请选择</option>
     <option value="skv4index1">商客v4广告1</option>
     <option value="skv4index2">商客v4广告2</option>
     <option value="skv4index3">商客v4广告3</option>
     <option value="skv4index4">商客v4广告4</option>
     <option value="skv4index5">商客v4广告5</option>
     <option value="skv4index6">商客v4广告6</option>
     <option value="skv4index7">商客v4广告7</option>
     <option value="skv4index8">商客v4广告8</option>
     <option value="skv4index9">商客v4广告9</option>
   </select>
  </div>    
</div>

 <div class="form-group">
  <label for="inputDate" class="col-sm-4 control-label">图片标题：</label>
  <div class="col-md-6">
  <input type="text" class="form-control" id="inputpoolname" placeholder="例:2019旅游年票"
      ng-model="info.title"
      >
  </div> 
  <div class="col-sm-1 showok" style="height:30px;line-height:20px;font-size: 25px;margin-top: 3px;padding: 0;z-index:500;"><i class="icon-question"></i><img src="http://cardv2.oss-cn-hangzhou.aliyuncs.com/images/images/lunbosz.png" class="descimg"></div>
   
 </div>

 <div class="form-group">
 <label for="inputDate" class="col-sm-4 control-label">
    <span ng-if="flag == 'skv4ad'"> 广告图片：</span>
    <span ng-if="flag != 'skv4ad'"> 轮播图片：</span>
 </label>
 <div class="col-md-6">
      <img ng-src="{{info.photo}}" width="100%" height="200" ng-model="info.photo">
        <input type="file" nv-file-select uploader="uploader" / ng-hide="hide===true" ><br/>
        <ul class="list-group">
          <li class="list-group-item" ng-repeat="item in uploader.queue">
            文件名: <span ng-bind="item.file.name"></span>
            <button type="button" class="btn btn-default btn-xs"  ng-click="item.upload()"><span class="glyphicon glyphicon-upload"></span> 上传</button>
            <div class="progress mt10">
              <div class="progress-bar" role="progressbar" ng-style="{ 'width': uploader.progress + '%' }"></div>
            </div>
          </li>
        </ul>
        <span ng-if="flag == 'skv4ad'" style="color: red"> 注：图片尺寸 750*144</span>
 </div>
 </div>

 <div class="form-group">
 <label for="inputDate" class="col-sm-4 control-label">链接：</label>
 <div class="col-md-6">
 <input type="text" class="form-control" id="inputpoolname" placeholder="例:https://mp.weixin.qq.com/s/Tr6ice9G8NwZiUEFNbDN8g"
      ng-model="info.url"
      >
 </div>    
 </div>

 <div class="form-group" ng-show="flag == 'skv4'">
  <label for="inputDate" class="col-sm-4 control-label">排序：</label>
  <div class="col-md-6">
  <input type="text" class="form-control" id="inputpoolname" placeholder="例:1"
       ng-model="info.sort"
       >
  </div>    
  </div>

 <div class="form-group">
 <label for="inputDate" class="col-sm-4 control-label">备注：</label>
 <div class="col-md-6">
 <input type="text" class="form-control" id="inputpoolname" placeholder="例:套票"
      ng-model="info.remark"
      >
 </div>    
 </div>

 
 <div>
  <button type="button" class="col-md-1 col-md-offset-6 btn btn-primary" ng-click="save()">保存</button>
 </div>

</div>
</div>

</div>
 


</form>